package shared.highcharts.config

import dataclass.data

@data class Style(
                   fontSize: Option[String],
                   fontFamily: Option[String],
                   color: Option[String],
                   fontWeight: Option[String],
                   )

object Style {
  def apply(
             fontSize: String = null,
             fontFamily: String = null,
             color: String = null,
             fontWeight: String = null,
           ) = new Style(
    Option(fontSize),
    Option(fontFamily),
    Option(color),
    Option(fontWeight),
  )
}
